home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / dos_win / winsock / userlist / 94-02.Z / 94-02
Encoding:
Internet Message Format  |  1994-02-27  |  6.3 KB

  1. From young@telebit.com Tue Feb  8 08:55:22 1994
  2. Received: from apache.telebit.com by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  3.           id AA27728; Tue, 8 Feb 1994 19:56:35 -0500
  4. Received: from america.Sunnyvale.Telebit.CO (america-bb.sunnyvale.telebit.com) by apache.telebit.com (4.1/SMI-4.1/Telebit-Apache-Brent-930718)
  5.     id AA03487 to winsock-users@sunsite.unc.edu; Tue, 8 Feb 94 16:56:20 PST
  6. Received: from napa.Sunnyvale.Telebit.COM by america.Sunnyvale.Telebit.COM (4.0/america.telebit.com-DBC-930718)
  7.     id AA23833 to winsock-users@sunsite.unc.edu; Tue, 8 Feb 94 16:55:22 PST
  8. Date: Tue, 8 Feb 94 16:55:22 PST
  9. From: young@telebit.com (Dennis Young)
  10. Message-Id: <9402090055.AA23833@america.Sunnyvale.Telebit.COM>
  11. To: winsock-users@sunsite.unc.edu
  12. Subject: is blocking select a bad idea?
  13.  
  14.  
  15.  
  16.   I am porting some Unix code to the MS Windows
  17.   platform.  I have a few questions on what is
  18.   the best way to incorporate the WinSock without
  19.   making major modifications to the Unix IPC code.
  20.  
  21.   My main concern is on how to replace the BSD select.
  22.   The simplest way is to replace it with WinSock's
  23.   blocking select.  This select internally uses PeekMessage
  24.   (according to the DefaultBlockingHook in section 4.3.13).
  25.   However, the winsock document strongly discourages
  26.   the use of blocking call.  Does this concern apply to the
  27.   blocking select?  I would not think so because the 
  28.   PeekMessage call yields control to other programs
  29.   when message is available, right?
  30.  
  31.   Another approach is to use the WSAsyncSelect(), but
  32.   this would entail too much modifications to the code.
  33.  
  34.   Any suggestion is greatly appreciated.
  35.  
  36.   Please respond to "young@telebit.com" direct or cc:,
  37.   since I don't know whether my sign-up request to 
  38.   winsock-request is working yet.
  39.  
  40.   Thank you very much.
  41.  
  42.     dennis
  43. From slieb@morgan.com Tue Feb 15 09:36:31 1994
  44. Received: from gateway.morgan.com by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  45.           id AA03615; Tue, 15 Feb 1994 14:36:54 -0500
  46. Received: from mercnyw1.morgan.com ([138.20.145.12]) by gateway.morgan.com with SMTP id <41433>; Tue, 15 Feb 1994 14:36:45 -0500
  47. Received: from bwit127.morgan.com by mercnyw1.morgan.com (5.65c/IDA-sendmail/cf.hub v1.24)
  48.     id AA08340; Tue, 15 Feb 1994 14:36:33 -0500
  49. Received: by bwit127.morgan.com (5.65c/IDA-sendmail/cf.host v1.23)
  50.     id AA05649; Tue, 15 Feb 1994 14:36:32 -0500
  51. From: slieb@morgan.com (Steve Lieblich)
  52. Message-Id: <9402151436.ZM5647@is.morgan.com>
  53. Date:     Tue, 15 Feb 1994 14:36:31 -0500
  54. X-Mailer: Z-Mail (2.1.3 10feb93)
  55. To: winsock-users@sunsite.unc.edu
  56. Subject: winsock questions
  57.  
  58. - How does one subscribe to this mail group?
  59.  
  60. - The most recent files found in /pub/micro/pc-stuff/ms-windows/...
  61.     ../winsock/winsock-users-archive and winsock-hackers-archive
  62.   are read protected and thus inaccessible for anonymous ftp.  Is
  63.   this by design, and if so, is there an alternate site for these?
  64.   If not, who should correct the permissions on these files?
  65.  
  66. - I am currently developing a winsock application using Novell's
  67.   Lan Workplace stack.  I have designed the system to use the
  68.   WSAAsyncSelect, and find under certain circumstances that my
  69.   program does NOT get posted an FD_READ message when in fact the
  70.   programs to which it connects are sending it data.  Has anyone
  71.   had similar problems with this?
  72.  
  73. Thanks.
  74.  
  75. --steve lieblich
  76.   slieb@morgan.com
  77.  
  78. From rysanek@arwen.ics.muni.cz Thu Feb 17 14:51:07 1994
  79. Received: from aragorn.ics.muni.cz by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  80.           id AA04108; Thu, 17 Feb 1994 08:52:20 -0500
  81. Received: from arwen.ics.muni.cz by aragorn.ics.muni.cz with SMTP id AA06116
  82.   (5.67a8/IDA-1.4.4 for <winsock-users@calypso-2.oit.unc.edu>); Thu, 17 Feb 1994 14:52:08 +0100
  83. Received: by arwen.ics.muni.cz id AA25437
  84.   (5.67a/IDA-1.4.4 for winsock-users@sunsite.unc.edu); Thu, 17 Feb 1994 13:51:09 +0100
  85. Message-Id: <199402171251.AA25437@arwen.ics.muni.cz>
  86. Subject: Wint NT socket crash
  87. To: winsock-users@sunsite.unc.edu (Windows Winsock )
  88. Date: Thu, 17 Feb 1994 13:51:07 +0100 (MET)
  89. From: Martin Rysanek <rysanek@arwen.ics.muni.cz>
  90. X-Mailer: ELM [version 2.4 PL21]
  91. Content-Type: text
  92. Content-Length: 1104      
  93.  
  94. HI,
  95. I have a problem with my Win NT AS. I'm about to write
  96. a program which will send some stuffs to other machine using sockets.
  97. But i have a still problem with closing of sockets.
  98.  
  99. If I close connection by closesocket(s), everything is OK.
  100. If second computer close connection and i receive message
  101. (lParam == 20, ....) and then I
  102. WSAAsyncSelect(s, hWnd, 0, 0);
  103. shutdown(s,2);
  104. closesocket(s);
  105. it means complete crash of WIN16 subsystem in WIN NT AS.
  106.  
  107. Then I cannot make logoff neither shutdown. It is neccessary 
  108. to wait about 6 minut to recover Win NT AS and to make shutdown. 
  109. I cannot continue in my work without complete restart of Win NT AS.      
  110.  
  111. I wrote my program with BC C++ 3.1 (Trumpet Beta release #5) 
  112. and I have no problem in the Windows 3.1. When I relink
  113. this program with Win NT AS winsock.lib and put it in
  114. the Win NT AS it means crash of NT.
  115.  
  116. Any idea? 
  117.  
  118. Martin Rysanek
  119.  
  120. ----------------------------------------------------
  121. Martin Rysanek             Technical University Brno
  122. Brno                       RYSANEK@DCSE.FEE.VUTBR.CZ
  123. Czech Republic             RYSANEK@ARWEN.ICS.MUNI.CZ
  124. From jimg@nsmdserv.cnd.hp.com Mon Feb 28 05:35:20 1994
  125. Received: from hp.com by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
  126.           id AA18818; Mon, 28 Feb 1994 14:35:23 -0500
  127. Received: from nsmdserv.cnd.hp.com by hp.com with SMTP
  128.     (1.36.108.7/15.5+IOS 3.13) id AA18428; Mon, 28 Feb 1994 11:35:21 -0800
  129. Received: by nsmdserv.cnd.hp.com
  130.     (1.37.109.8/15.5+ECS 3.3) id AA12329; Mon, 28 Feb 1994 12:35:20 -0700
  131. From: jimg@nsmdserv.cnd.hp.com (Jim Greuel X2493)
  132. Message-Id: <9402281235.ZM12327@nsmdserv.cnd.hp.com>
  133. Date: Mon, 28 Feb 1994 12:35:20 -0700
  134. X-Mailer: Z-Mail (2.1.2 11jan93)
  135. To: winsock-users@sunsite.unc.edu
  136. Subject: Local communications optimized?
  137.  
  138. Are there any winsock implementations which optimize local
  139. communications (i.e., communications in which the "remote"
  140. socket is actually on the local node) by using some local IPC
  141. mechanism rather than sending the data down the networking
  142. stack, ala Unix domain sockets?  
  143.  
  144. Thanks in advance,
  145. Jim Greuel
  146.  
  147.  
  148.  
  149. -- 
  150. Jim Greuel
  151. Network and System Management Division        Hewlett-Packard
  152. Email: j_greuel@hpcnd.cnd.hp.com        3404 E Harmony Rd.
  153. Telephone: (303)229-2493             Ft. Collins, CO  80525
  154. Fax: (303)229-3526
  155.